package com.dc.project.model;

import java.io.Serializable;
import java.util.Date;

public class StudentUserInfo implements Serializable {
	/**
	 * 个人信息主键id
	 *
	 */
	private int user_info_id;

	/**
	 * 用户id
	 *
	 */
	private int fk_user_id;

	/**
	 * 姓名*
	 *
	 */
	private String name;

	/**
	 * 性别0未知1男2女*
	 *
	 */
	private int sex;

	/**
	 * 出生年月
	 *
	 */
	private Date birth;

	/**
	 * 省*
	 *
	 */
	private String province;

	/**
	 * 市*
	 *
	 */
	private String city;

	/**
	 * 区*
	 *
	 */
	private String area;

	/**
	 * 学校id*
	 *
	 */
	private int school_id;

	/**
	 * 就读学校*
	 *
	 */
	private String school_name;

	/**
	 * 年级id*
	 *
	 */
	private int grade_id;

	/**
	 * 目前年级*
	 *
	 */
	private String grade_name;

	/**
	 * 家长姓名
	 *
	 */
	private String parent_name;

	/**
	 * 用户联系电话*
	 *
	 */
	private String user_phone;

	/**
	 * 家长联系电话
	 *
	 */
	private String parent_phone;

	/**
	 * 家长称谓
	 *
	 */
	private String parent_appellation;

	/**
	 * 邮箱
	 *
	 */
	private String email;

	/**
	 * 职业id
	 *
	 */
	private String job_id;

	/**
	 * 从事职业
	 *
	 */
	private String job_name;

	/**
	 * 小区id
	 *
	 */
	private String address_id;

	/**
	 * 所住小区
	 *
	 */
	private String address_name;

	/**
	 * 专业*(高校)
	 *
	 */
	private String major;

	/**
	 * 班级
	 *
	 */
	private String class_name;

	/**
	 * 籍贯
	 *
	 */
	private String native_place;

	/**
	 * 0未知1高校2K12
	 *
	 */
	private int type;

	/**
	 * 创建人用户id
	 *
	 */
	private int create_user_id;

	/**
	 * 创建人姓名
	 *
	 */
	private String create_user_name;

	/**
	 * 创建时间
	 *
	 */
	private Date create_time;

	/**
	 * 修改人用户id
	 *
	 */
	private int update_user_id;

	/**
	 * 修改人姓名
	 *
	 */
	private String update_user_name;

	/**
	 * 修改时间
	 *
	 */
	private Date update_time;

	/**
	 * 是否删除0删除1存在
	 *
	 */
	private int is_deleted;

	/**
	 * 版本号
	 */
	private int version;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


	/**
	 */
	private static final long serialVersionUID = 1L;

	public int getUser_info_id() {
		return user_info_id;
	}

	public void setUser_info_id(int user_info_id) {
		this.user_info_id = user_info_id;
	}

	public int getFk_user_id() {
		return fk_user_id;
	}

	public void setFk_user_id(int fk_user_id) {
		this.fk_user_id = fk_user_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public int getSchool_id() {
		return school_id;
	}

	public void setSchool_id(int school_id) {
		this.school_id = school_id;
	}

	public String getSchool_name() {
		return school_name;
	}

	public void setSchool_name(String school_name) {
		this.school_name = school_name;
	}

	public int getGrade_id() {
		return grade_id;
	}

	public void setGrade_id(int grade_id) {
		this.grade_id = grade_id;
	}

	public String getGrade_name() {
		return grade_name;
	}

	public void setGrade_name(String grade_name) {
		this.grade_name = grade_name;
	}

	public String getParent_name() {
		return parent_name;
	}

	public void setParent_name(String parent_name) {
		this.parent_name = parent_name;
	}

	public String getUser_phone() {
		return user_phone;
	}

	public void setUser_phone(String user_phone) {
		this.user_phone = user_phone;
	}

	public String getParent_phone() {
		return parent_phone;
	}

	public void setParent_phone(String parent_phone) {
		this.parent_phone = parent_phone;
	}

	public String getParent_appellation() {
		return parent_appellation;
	}

	public void setParent_appellation(String parent_appellation) {
		this.parent_appellation = parent_appellation;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getJob_id() {
		return job_id;
	}

	public void setJob_id(String job_id) {
		this.job_id = job_id;
	}

	public String getJob_name() {
		return job_name;
	}

	public void setJob_name(String job_name) {
		this.job_name = job_name;
	}

	public String getAddress_id() {
		return address_id;
	}

	public void setAddress_id(String address_id) {
		this.address_id = address_id;
	}

	public String getAddress_name() {
		return address_name;
	}

	public void setAddress_name(String address_name) {
		this.address_name = address_name;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getClass_name() {
		return class_name;
	}

	public void setClass_name(String class_name) {
		this.class_name = class_name;
	}

	public String getNative_place() {
		return native_place;
	}

	public void setNative_place(String native_place) {
		this.native_place = native_place;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCreate_user_id() {
		return create_user_id;
	}

	public void setCreate_user_id(int create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getCreate_user_name() {
		return create_user_name;
	}

	public void setCreate_user_name(String create_user_name) {
		this.create_user_name = create_user_name;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public int getUpdate_user_id() {
		return update_user_id;
	}

	public void setUpdate_user_id(int update_user_id) {
		this.update_user_id = update_user_id;
	}

	public String getUpdate_user_name() {
		return update_user_name;
	}

	public void setUpdate_user_name(String update_user_name) {
		this.update_user_name = update_user_name;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public int getIs_deleted() {
		return is_deleted;
	}

	public StudentUserInfo withIs_deleted(int is_deleted) {
		this.setIs_deleted(is_deleted);
		return this;
	}

	/**
	 * This method sets the value of the database column
	 * t_student_user_info.is_deleted
	 *
	 * @param is_deleted
	 *            the value for t_student_user_info.is_deleted
	 */
	public void setIs_deleted(int is_deleted) {
		this.is_deleted = is_deleted;
	}

	/**
	 */
	@Override
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(getClass().getSimpleName());
		sb.append(" [");
		sb.append("Hash = ").append(hashCode());
		sb.append(", user_info_id=").append(user_info_id);
		sb.append(", fk_user_id=").append(fk_user_id);
		sb.append(", name=").append(name);
		sb.append(", sex=").append(sex);
		sb.append(", birth=").append(birth);
		sb.append(", province=").append(province);
		sb.append(", city=").append(city);
		sb.append(", area=").append(area);
		sb.append(", school_id=").append(school_id);
		sb.append(", school_name=").append(school_name);
		sb.append(", grade_id=").append(grade_id);
		sb.append(", grade_name=").append(grade_name);
		sb.append(", parent_name=").append(parent_name);
		sb.append(", user_phone=").append(user_phone);
		sb.append(", parent_phone=").append(parent_phone);
		sb.append(", parent_appellation=").append(parent_appellation);
		sb.append(", email=").append(email);
		sb.append(", job_id=").append(job_id);
		sb.append(", job_name=").append(job_name);
		sb.append(", address_id=").append(address_id);
		sb.append(", address_name=").append(address_name);
		sb.append(", major=").append(major);
		sb.append(", class_name=").append(class_name);
		sb.append(", native_place=").append(native_place);
		sb.append(", type=").append(type);
		sb.append(", create_user_id=").append(create_user_id);
		sb.append(", create_user_name=").append(create_user_name);
		sb.append(", create_time=").append(create_time);
		sb.append(", update_user_id=").append(update_user_id);
		sb.append(", update_user_name=").append(update_user_name);
		sb.append(", update_time=").append(update_time);
		sb.append(", is_deleted=").append(is_deleted);
		sb.append("]");
		return sb.toString();
	}

}